ioemu/qemu vga: save and restore vram buffer (take 2)
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 12 Dec 2007 12:02:01 +0000 (12:02 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 12 Dec 2007 12:02:01 +0000 (12:02 +0000)
commit2d9284c4a58976f7549729b9e2129151bd8a9bc7
tree73ed8bea9b89bb7f84ca365e40dac9af02433c79
parent8e7e63dc88d4ede72b5d684a4e1765b95a62882e
ioemu/qemu vga: save and restore vram buffer (take 2)

The existing stdvga driver from xen-unstable tools/ioemu/hw/vga* does
not save the emulated VGA memory contents.  The symptoms include video
malfunction after restore, including black screen (which can often be
fixed by asking the guest to redraw) but also missing font setup etc.
The attached patch fixes this by saving the entire VGA memory buffer,
just like the Xen ioemu Cirrus emulator does.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/ioemu/hw/vga.c